class CreateDisasterInfos < ActiveRecord::Migration
  def self.up
    create_table :disasteri_infos do |t|
      t.column :user_id, :integer
      
      t.column :title, :string
      t.column :content, :text
      t.column :content_html, :text
      t.column :important, :boolean
      
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end
  end

  def self.down
    drop_table :disaster_infos
  end
end
